﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MySql.Data;
using MySql.Data.MySqlClient;

namespace mysqlTest
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        private MySqlConnection conn;
        private MySqlCommand cmd;
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            conn = new MySqlConnection("server=localhost;uid=root;pwd=XFNQQ.0627");
        }

        protected void bt_add_Click(object sender, EventArgs e)
        {

        }

        protected void bt_cancel_Click(object sender, EventArgs e)
        {
            foreach (Control item in this.Controls)
            {
                if (item is TextBox)
                {
                    ((TextBox)item).Text = "";
                }
            }
        }

        protected void bt_modify_Click(object sender, EventArgs e)
        {

        }
    }
}